package com.hxzy.module.store.api.store.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @Author wy
 * @Description 门店账户
 * @Date 2024/1/26 9:22
 * @Version 1.0
 */
@Getter
@Setter
@ApiModel(description = "门店账户")
public class StoreAccountResp {

    @ApiModelProperty(value = "门店账户主键")
    private Long id;

    /**
     * 门店员工姓名
     */
    @ApiModelProperty(value = "门店员工姓名")
    private String name;

    /**
     * 电话
     */
    @ApiModelProperty(value = "门店电话")
    private String phone;

    /**
     * 账号
     */
    @ApiModelProperty(value = "门店账号")
    private String account;

    /**
     * 密码
     */
    @ApiModelProperty(value = "门店密码")
    private String password;

    /**
     * 密码明文
     */
    @ApiModelProperty(value = "门店密码明文")
    private String pwd;

    /**
     * 头像
     */
    @ApiModelProperty(value = "头像")
    private String avatar;

    /**
     * 状态  true启用 false禁用
     */
    @ApiModelProperty(value = "状态  true启用 false禁用")
    private Boolean state;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;


    /**
     * 商户id
     */
    @ApiModelProperty(value = "商户id")
    private Long merchantId;

    /**
     * 所属门店id
     */
    @ApiModelProperty(value = "所属门店id")
    private Long storeId;

    /**
     * 是否超级账户
     */
    @ApiModelProperty(value = "是否超级账户")
    private Boolean root;
}
